package com.hs.srm.admin.modules.harmfulsubstance.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hs.srm.admin.modules.harmfulsubstance.dao.DeclarationFormItemDao;
import com.hs.srm.admin.modules.harmfulsubstance.entity.DeclarationFormItemEntity;
import com.hs.srm.admin.modules.harmfulsubstance.service.DeclarationFormItemService;
import com.hs.srm.admin.modules.harmfulsubstance.vo.DeclarationFormVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (DeclarationFormItemEntity)表服务实现类
 *
 * @author ych
 * @since 2020-03-24 16:53:41
 */
@Service("declarationFormItemService")
public class DeclarationFormItemServiceImpl extends ServiceImpl<DeclarationFormItemDao, DeclarationFormItemEntity> implements DeclarationFormItemService {

    @Autowired
    private DeclarationFormItemDao declarationFormItemDao;

    @Override
    public List<DeclarationFormVO> selectDetails(String headId) {
        return declarationFormItemDao.selectDetails(headId);
    }
}